<template>
    <h2>我是About的内容</h2>
</template>

<script>
    export default {
        name: "About",
        mounted() {
            console.log('About 组件被挂载');
            window.aboutRoute = this.$route;
            window.aboutRouter = this.$router;
        },
        beforeDestroy() {
            console.log('About 组件被销毁');
        }
    }
</script>

<style scoped>

</style>